#include <vcl.h>
#pragma hdrstop

#include "CExtraDLL.h"

#pragma package(smart_init)


__fastcall CExtraDLL::CExtraDLL()
{
//  m_pfncCloturer           = NULL;
//  m_pfncBasculerEuro       = NULL;

  m_hinstPostes                    = ::LoadLibrary( "extra.dll");
//  m_pfncCloturer                   = ( PSTCloturer                  )::GetProcAddress( m_hinstPostes, "_Cloturer"); ASSERT( m_pfncCloturer);
//  m_pfncBasculerEuro               = ( PSTBasculerEuro              )::GetProcAddress( m_hinstPostes, "_BasculerEuro"); ASSERT( m_pfncBasculerEuro);
  m_pfncMigrerDonneesExtra         = ( PSTMigrerDonneesExtra        )::GetProcAddress( m_hinstPostes, "_MigrerDonneesExtra"); ASSERT( m_pfncMigrerDonneesExtra);
  m_pfncMigrerDonneesExtraDonnees  = ( PSTMigrerDonneesExtraDonnees )::GetProcAddress( m_hinstPostes, "_MigrerDonneesExtraDonnees"); ASSERT( m_pfncMigrerDonneesExtraDonnees);
  m_pfncMigrationDonnees516h       = ( PSTMigrationDonnees516h      )::GetProcAddress( m_hinstPostes, "_MigrationDonnees516h"); ASSERT( m_pfncMigrationDonnees516h);
}



__fastcall CExtraDLL::~CExtraDLL()
{
  ::FreeLibrary( m_hinstPostes);
}


